using System;
using System.Collections.Generic;
using System.Text;

namespace IPSim.Core
{
    /// <author>Jovan Brakus</author>
    public static class Connector
    {
        public static void Connect(IConnectable device1, IConnectable device2, byte num1, byte num2)
        {
            device1.Connect(device2,num1);
            device2.Connect(device1,num2);
        }

        public static void Disconnect(IConnectable device1, IConnectable device2, byte num1, byte num2)
        {
            device1.Disconnect(device2,num1);
            device2.Disconnect(device1,num2);
        }
    }
}
